package com.ims.core.saleconfig.domain;

import java.util.List;
import com.ims.common.annotation.Excel;
import com.ims.common.annotation.RequestName;
import com.ims.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 购方对象 t_sal_buyer
 *
 * @author IMS
 * @date 2024-05-19
 */
public class TSalBuyer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 购方ID */
    private String buyerId;

    /** 客户ID */
    private String custId;

    /** 公司代码 */
    private String siteCode;

    /** 公司 */
    @Excel(name = "公司")
    private String siteName;

    /** 购方编码 */
    @Excel(name = "购方编码")
    @RequestName(name = "购方编码")
    private String buyerCode;

    /** 启用状态代码 */
    private Long isEnabled;

    /** 启用状态 */
    @Excel(name = "启用状态")
    private String isEnabledName;

    /** 购方名称 */
    @Excel(name = "购方名称")
    @RequestName(name = "购方名称")
    private String buyerName;

    /** 纳税识别号 */
    @Excel(name = "纳税识别号")
    private String buyerNumber;

    /** 地址 */
    @Excel(name = "地址")
    private String buyerAddress;

    /** 电话 */
    @Excel(name = "电话")
    private String buyerTel;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contacts;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 抄送邮箱 */
    @Excel(name = "抄送邮箱")
    private String emailCarbonCopy;

    /** 开户行 */
    @Excel(name = "开户行")
    private String buyerBank;

    /** 开户行地址 */
    @Excel(name = "开户行地址")
    private String buyerBankAddress;

    /** 账号 */
    @Excel(name = "账号")
    private String buyerAccount;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBuyerId(String buyerId)
    {
        this.buyerId = buyerId;
    }

    public String getBuyerId()
    {
        return buyerId;
    }
    public void setCustId(String custId)
    {
        this.custId = custId;
    }

    public String getCustId()
    {
        return custId;
    }
    public void setSiteCode(String siteCode)
    {
        this.siteCode = siteCode;
    }

    public String getSiteCode()
    {
        return siteCode;
    }
    public void setSiteName(String siteName)
    {
        this.siteName = siteName;
    }

    public String getSiteName()
    {
        return siteName;
    }
    public void setBuyerCode(String buyerCode)
    {
        this.buyerCode = buyerCode;
    }

    public String getBuyerCode()
    {
        return buyerCode;
    }
    public void setIsEnabled(Long isEnabled)
    {
        this.isEnabled = isEnabled;
    }

    public Long getIsEnabled()
    {
        return isEnabled;
    }
    public void setIsEnabledName(String isEnabledName)
    {
        this.isEnabledName = isEnabledName;
    }

    public String getIsEnabledName()
    {
        return isEnabledName;
    }
    public void setBuyerName(String buyerName)
    {
        this.buyerName = buyerName;
    }

    public String getBuyerName()
    {
        return buyerName;
    }
    public void setBuyerNumber(String buyerNumber)
    {
        this.buyerNumber = buyerNumber;
    }

    public String getBuyerNumber()
    {
        return buyerNumber;
    }
    public void setBuyerAddress(String buyerAddress)
    {
        this.buyerAddress = buyerAddress;
    }

    public String getBuyerAddress()
    {
        return buyerAddress;
    }
    public void setBuyerTel(String buyerTel)
    {
        this.buyerTel = buyerTel;
    }

    public String getBuyerTel()
    {
        return buyerTel;
    }
    public void setBuyerBank(String buyerBank)
    {
        this.buyerBank = buyerBank;
    }

    public String getBuyerBank()
    {
        return buyerBank;
    }
    public void setBuyerAccount(String buyerAccount)
    {
        this.buyerAccount = buyerAccount;
    }

    public String getBuyerAccount()
    {
        return buyerAccount;
    }
    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEmailCarbonCopy() {
        return emailCarbonCopy;
    }

    public void setEmailCarbonCopy(String emailCarbonCopy) {
        this.emailCarbonCopy = emailCarbonCopy;
    }

    public String getBuyerBankAddress() {
        return buyerBankAddress;
    }

    public void setBuyerBankAddress(String buyerBankAddress) {
        this.buyerBankAddress = buyerBankAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("buyerId", getBuyerId())
            .append("custId", getCustId())
            .append("siteCode", getSiteCode())
            .append("siteName", getSiteName())
            .append("buyerCode", getBuyerCode())
            .append("isEnabled", getIsEnabled())
            .append("isEnabledName", getIsEnabledName())
            .append("buyerName", getBuyerName())
            .append("buyerNumber", getBuyerNumber())
            .append("buyerAddress", getBuyerAddress())
            .append("buyerTel", getBuyerTel())
            .append("buyerBank", getBuyerBank())
            .append("buyerAccount", getBuyerAccount())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
